package com.yayo.mangement.converter;

import com.yayo.mangement.model.SysUser;
import com.yayo.mangement.info.UserInfo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

@Mapper(componentModel = "spring")
@Component
public interface UserConverter {

    public UserInfo do2info(SysUser sysUser);

}
